<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/12/20
 * Time: 15:25
 * name:财务申报列表（已操作）
 * url:/erpEnterpriseStructure/financeDeclare
 */

$oesid = $route->restfulParams['oes_id'];

$sql = "SELECT `ofd_id`,`ofd_desc_type`,`ofd_money`,`ofd_create_time`,`ofd_status` FROM `v_art_financial_declare_fix_user` WHERE `ou_oesid` = '$oesid' AND (`ofd_status` = 2 OR `ofd_status` = 3)";

$re=$db->mysqlDB->query($sql);

$rs = array("data" => $re);
//返回成功结果
$response->responseData(true, $rs);